<?php
/*Problem Domain
To create a database access layer for User class
*/

/*
UserDAO is an interface
interp. represents the database access layer interface(functionality) for User class
*/

interface UserDAO
{
	/*User -> boolean
	purpose. To save or update a given User and return true on success , false otherwise*/
	public function saveOrUpdate($user);

	/*User -> boolean
	purpose. To remove an existing User and return true on success , false otherwise*/
	public function remove($user);

	/*void -> LostUserType
	purpose. produces the entire list of Users*/
	public function listUsers();

}
?>
